package com.lysj.bhp.wallet.base;

import com.lysj.bhp.exchangerate.service.ExchangeRateService;
import com.lysj.bhp.investment.controller.DividendController;

import com.lysj.bhp.investment.repository.DividendRepository;
import com.lysj.bhp.investment.repository.RewardRepository;
import com.lysj.bhp.system.base.BaseConst;
import com.lysj.bhp.wallet.repository.BhpcWalletRepository;
import com.lysj.bhp.wallet.repository.BitcoinAddressRepository;
import com.lysj.bhp.wallet.repository.BitcoinWalletRepository;
import com.lysj.bhp.wallet.repository.EthereumWalletRepository;
import com.lysj.bhp.wallet.service.BlockChainService;
import com.lysj.bhp.wallet.service.EthereumService;
import com.lysj.bhp.recharge.repository.RechargeRecordRepository;
import com.lysj.bhp.user.base.UserContent;
import com.lysj.bhp.user.repository.UserRepository;
import org.springframework.stereotype.Component;
import org.web3j.protocol.Web3j;

import javax.annotation.Resource;

/**
 * 基础的容器,此容器包含所有Service和Repository的对象(单例)
 */
@Component
public class WalletContent extends BaseConst {
    @Resource
    public Web3j web3;

    @Resource
    protected EthereumWalletRepository ethereumWalletRepository;
    @Resource
    protected BitcoinWalletRepository bitcoinWalletRepository;
    @Resource
    protected BhpcWalletRepository bhpcWalletRepository;
    @Resource
    public BitcoinAddressRepository bitcoinAddressRepository;
    @Resource
    protected UserRepository userRepository;
    @Resource
    protected RechargeRecordRepository rechargeRecordRepository;
    @Resource
    protected RewardRepository rewardRepository;
    @Resource
    protected BlockChainService blockChainService;
    @Resource
    protected DividendController dividendController;

}
